//浏览记录
import React, { Component } from 'react'
import {
    View,
    Text,
    Image,
    StyleSheet,
    TextInput,
    TouchableOpacity,
    ScrollView,
    Alert,
} from 'react-native';

import { public_Style as styles } from '../../../styles';
import Icon from 'react-native-vector-icons/Ionicons';
var Dimensions = require('Dimensions');
var width = Dimensions.get('window').width;
var height = Dimensions.get('window').height;

export default class State_t extends Component {
    constructor(props) {
        super(props);
    };
    render() {
        return (
            <View>
                <TouchableOpacity style={styles.tradetextout} onPress={() => { this.props.function(this.props.rowData) }}>
                    <Text style={styles.tradetext}>
                        {this.props.rowData.fieldName}
                    </Text>
                </TouchableOpacity>
            </View>
        )
    }
}